﻿@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
     [ @Html.ActionLink("Log Off", "LogOff", "Account"), 
      @Html.ActionLink("Change Password", "ChangePassword", "Account")</text>

    if(User.IsInRole("Admin")){
        <text> ,@Html.ActionLink("Edit Accounts", "EditAccounts", "Account")</text>
    }
    
    <text> ]</text>
}
else
{
    @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
}
